//
//  HeaderView.m
//  InTime
//
//  Created by lanou on 15/9/9.
//  Copyright (c) 2015年 ClownYoJoy. All rights reserved.
//

#import "HeaderView.h"

@implementation HeaderView
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        self.label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 30)];
        self.label.textAlignment = NSTextAlignmentCenter;
        self.label.font = [UIFont fontWithName:@"SnellRoundhand-Black" size:16];
        [self.contentView addSubview:self.label];
    }
    return self;
}

@end
